package com.sleepcamel.rest.domain.method.parameter;

import com.sleepcamel.rest.domain.BaseBean;

public class RESTMethodParameterType extends BaseBean{

	private String value;
	private RESTMethodParameterTypeName name;

	public RESTMethodParameterType(RESTMethodParameterTypeName name){
		setName(name);
		setValue("");
	}
	
	public RESTMethodParameterTypeName getName() {
		return name;
	}
	
	public void setName(RESTMethodParameterTypeName name) {
		support.firePropertyChange("name", this.name, this.name = name);
	}

	public String getValue() {
		return value;
	}

	public void setValue(String value) {
		support.firePropertyChange("value", this.value, this.value = value);
	}

	public String getImport() {
		return name.getImport();
	}

}
